package com.game.primitive.context;

import io.netty.channel.ChannelHandlerContext;

import java.io.Serializable;

public class PrimitivePlayer implements Serializable {
	private ChannelHandlerContext ctx;
	private PlayerStatus status = PlayerStatus.fight;
	//玩家进入战场，所选用的英雄
	private Hero hero;
	private int x;
	private int y;
	private int userId;
	private Battlefield battlefield;

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public Battlefield getBattlefield() {
		return battlefield;
	}

	public void setBattlefield(Battlefield battlefield) {
		this.battlefield = battlefield;
	}

	public ChannelHandlerContext getCtx() {
		return ctx;
	}

	public void setCtx(ChannelHandlerContext ctx) {
		this.ctx = ctx;
	}


	public void clear() {

	}
}
